package com.grm.j001array;

public class MyArrayListTest {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(2);
        myArrayList.add(1);
        myArrayList.add(3);
        myArrayList.add(4);

        myArrayList.print();
        myArrayList.delete(1);
        myArrayList.print();
    }
}
